<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>  
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<base href="<%=basePath%>">

  <form id="pagerForm" method="post" action="customer/school_customer/school_customerlist.html">
	<input type="hidden" name="status" value="${param.status}"/>
	<input type="hidden" name="pageNum" value="${param.pageNum }" />
	<input type="hidden" name="time" value="${param.time}"/>
	<input type="hidden" name="school_name" value="${param.school_name}"/>
	<input type="hidden" name="numPerPage" value="${model.numPerPage}" />
	<input type="hidden" name="orderField" value="${param.orderField}" />
</form>
 

<div class="pageHeader">
	  <form onsubmit="return navTabSearch(this);" action="customer/school_customer/school_customerlist.html" method="post">
	<div class="searchBar">
		
		<table class="searchContent">
			<tr>
				<td>
					院校名称：<input type="text" name="school_name" value="${param.school_name }"/>
				</td>
				
				<td>
					签约时间：<input type="text" name="time" class="date" value="${param.time }"/>
				</td>
				
				
			</tr>
		</table>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索

</button></div></div></li>
				
			</ul>
		</div>
	</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="customer/addschool_customer.html" target="navTab" rel="school1"><span>新增院校客户</span></a></li>
			<li><a class="delete" href="customer/school_customer/delschool_customer-{sid_user}.html" target="ajaxTodo" title="确定要删除吗?"><span>删除</span></a></li>
			<li><a class="edit" href="customer/school_customer/editschool_customer-{sid_user}.html?" target="navTab" rel="edit"><span>编辑</span></a></li>
			<li class="line">line</li>
			
		</ul>
	</div>
	
	<table class="table" width="100%" layoutH="138" id="com_list">
		<thead>
			
			<tr>
				<th width="26">序号</th>
				<th width="120">院校名称</th>
				
				<th width="100">院校地址</th>
				<th width="100">院校网址</th>
				
				<th width="100">联系电话</th>
				<th width="100">签约时间</th>
				
			</tr>
		</thead>
		<tbody id="userlist">
			
			<c:forEach items="${school_customerlist }" var="school_customer" varStatus="s">
		         <tr target="sid_user" rel="${school_customer.id }">
		      <td width=26>
		      ${s.index} 
		      </td>
		      <td width="80">
		      ${school_customer.school_name }
		      </td>
		      <td width="80">
		       ${school_customer.school_address }
		      </td>
		       <td width="100">
		        ${school_customer.internet_adress }
		      </td>
		       <td width="100">
		         ${school_customer.phone }
		      </td>
		      <td width="100">
		         ${school_customer.time }
		      </td>
		       
		</tr>
            </c:forEach>
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>${page.allcount }条记录， 共${page.pagecount }页</span>
		</div>
		
		<div class="pagination" targetType="navTab" totalCount="${page.allcount }" numPerPage="${page.avgcount }" pageNumShown="6" 

currentPage="${page.page1 }">

	</div>
	
</div>
</div>